package com.jianyushe.gof23.learncode.creationalpattern.factory.abstractfactory;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author Create by Alvin
 * @Description TODO
 * @date 2021-10-11 15:59
 */
public interface Tyre {
    void revolve();
}

class LuxuryTyre implements Tyre{
private static final Logger LOGGER = LoggerFactory.getLogger(LuxuryTyre.class);

    @Override
    public void revolve() {
        LOGGER.info("轮胎转得好");
    }
}
class LowTyre implements Tyre{
private static final Logger LOGGER = LoggerFactory.getLogger(LowTyre.class);

    @Override
    public void revolve() {
        LOGGER.info("轮胎转得差");
    }
}
